home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part II.srd / Part II.srd.rsrc / PICT_45.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  131KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky | tree | windowpane
OCR: Chapter Miscellaneous Topics the expr1 value -this means that the default code can be left out completely without leav ing spurious value on the stack But if you consume the expr1 value in the default code, remember to put a dummy value on the stack to be consumed by the DROP Here's rather useless) example CASE OF ten" ENDOF OF twelve" ENDOF 1 3 OF thirteen or sixteen" ENDOF 16 OF thi .rteen or sixteen" ENDOF 20 3 C RANGEOF twenty to thirty incl us ivet ENDOF dei aul something else, namely be consumed ENDCASE Noti ice the ENDCASE consumes one value off the stack, and also tha handl ing va lues whi ich lead to the same acti .on ac i n and The second type Jo CASE we have ir Mops keyed case 1n wh ich succes ive val ues linear Here the equi va] .ent of the above CASE [ ten" twelve" 16 thirteen ...